﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Class
{
    class Program
    {
        static void Main(string[] args)
        {
            TaskNPC npc1 = new TaskNPC("小白兔", NPCType.Task, "去野外帮我挖2根萝卜。");
            npc1.Speak();

            ShopNPC npc2 = new ShopNPC("野狼", NPCType.Shop, "肥羊");
            npc2.Speak();
            IronNPC npc3 = new IronNPC("铁匠",NPCType.Iron,"玄铁神剑");
            npc3.Speak();
        }
    }
}
